package com.mytest.provider.ff.client;

import com.myrest.provider.poi.work.entities.user.SysUser;
import com.mytest.provider.ff.client.hys.userhys;
//import org.springframework.cloud.netflix.feign.FeignClient;
//import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @Author: llq
 * @Date: 2020/4/1
 */
@FeignClient(value = "provider-service",fallback = userhys.class)
public interface userFen {

    @GetMapping("/user/select")
    SysUser selectUser(@RequestParam Map<String,Object> param);

    @PostMapping("/user/insert")
    SysUser insertUser(@RequestParam Map<String,Object> param);

}

